.toolInfoWrap {
    width: 100%;
    height: 100%;
    background: #F5F6F7;
    cursor: pointer;

    .toolInfo {
        padding: 12px 0;
        width: 87.5vw;
        margin: 0 auto;
        height: 70px;
        box-sizing: border-box;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: #F5F6F7;

        .icon {
            width: 42px;
            height: 42px;
            border-radius: 6px;
            border: 1px solid #F0F1F3;

            img {
                border-radius: 6px;
                width: 100%;
                height: 100%;
            }
        }

        .middle {
            flex: 1;
            margin: 0 10px;
        }

        .name {
            font-size: 16px;
            color: #071127;
            font-weight: bold;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .desc {
            font-size: 14px;
            color: #5E6472;
            line-height: 1.5;
            display: -webkit-box;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
        }

        .submitBtn {
            display: flex;
            gap: 20px;
            // width: 64px;
        }
    }

    .wrap {
        width: 100%;
        height: calc(100vh - 110px);
        background: #fff;
    }

    .outer {
        width: 100%;
        background: #FFF;
        padding-top: 20px;

    }

    .card {
        width: 87.5vw;
        margin: 0 auto;
        height: calc(100vh - 130px); // 保证card充满剩余屏幕
        background: #fff;
        box-sizing: border-box;

        :global(.ant-card-body) {
            padding: 0 !important;
            height: calc(100% - 56px);
        }
    }

    .methodWrap {
        padding: 16px 20px;
    }

    .content {
        width: 100%;
        height: calc(100% - 70px);
        border-top: 1px solid #F0F1F3;
        overflow-y: auto;
    }

    .apiWrap {
        width: 100%;
        height: 100%;
        display: flex;



        .step {
            padding: 20px 20px;
            width: 200px;
            height: 100%;
            flex-shrink: 0;
            box-sizing: border-box;
            border-right: 1px solid #F0F1F3;
        }

        .stepNumber {
            width: 24px;
            height: 24px;
            background: #0E5DD8;
            text-align: center;
            line-height: 24px;
            border-radius: 12px;
            color: #fff;
        }

        .bgGray {
            background: #F0F1F3;
            color: #8F949E
        }

        .info {
            width: 100%;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .right {
            height: 100%;
            overflow-y: auto;
        }

        .formWrap {
            padding: 20px;
            height: calc(100% - 56px);
            overflow-y: scroll;
            box-sizing: border-box;
        }

        .tableHeader {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
            color: #5E6472;
        }

        .footer {
            padding: 10px 20px;
            text-align: right;
            border-top: 1px solid #F0F1F3;
        }

        .step4 {
            height: calc(100% - 53px);
            display: flex;
        }

        .testFormWrap,
        .testWrap {
            padding: 20px;
            width: 50%;
            flex-shrink: 0;
        }

        .testFormWrap {
            padding-right: 10px;
        }

        .testWrap {
            padding: 20px;
            display: flex;
            flex-direction: column;
        }

        .testHeader {
            display: flex;
            align-items: center;
        }

        .testTitle {
            font-size: 16px;
            color: #071127;
            font-weight: bold;
        }

        .testState {
            margin-left: 4px;
            padding: 0 8px;
            background: #F0F5FC;
            border-radius: 2px;
            border: 1px solid #0E5DD8;
            font-size: 12px;
            color: #0E5DD8;
        }

        .horizontalItem {
            display: flex;
            margin-top: 20px;
            padding: 0 20px 0 20px;
        }

        .horizontalLabel {
            padding-top: 6px;
        }

        .horizontalElement {
            padding-left: 10px;
        }

        .resultWrap {
            flex: 1;
            margin-top: 4px;
            width: 100%;
            background: #F5F6F7;
            border-radius: 4px;
            padding: 20px;
            overflow-y: auto;
        }

        .resultContent {
            background: #FFFFFF;
            border-radius: 4px;
            border: 1px solid #D9DBE0;
            height: 100%;
            padding: 20px;
            overflow: auto;
            box-sizing: border-box;
            white-space: pre-wrap;
        }
    }
}

.tHead {
    display: flex;
    justify-content: space-between;
    color: #5E6472;
}

.CardMcp {
    height: 100%;
    padding: 20px;
    box-sizing: border-box;

    .configSection {
        height: 100%;
        overflow-y: auto;
        padding-right: 16px;
        padding: 8px !important;
    }

    .toolListSection {
        height: 100%;
        overflow-y: auto;
        padding: 0 16px;
        padding: 8px !important;
    }

    .testSection {
        height: 100%;
        overflow-y: auto;
        padding-left: 16px;
        padding: 8px !important;
    }

    .toolListContainer {
        height: 100%;
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 6px;
        border: 1px solid #f0f0f0;
    }

    .toolListHeader {
        flex-shrink: 0;
        padding: 16px 20px;
        border-bottom: 1px solid #f0f0f0;
        background: #fafafa;
        border-top-left-radius: 6px;
        border-top-right-radius: 6px;

        h3 {
            margin: 0;
            font-size: 16px;
            font-weight: bold;
            color: #262626;
        }
    }

    .toolListContent {
        flex: 1;
        overflow: auto;
        padding: 20px 0;
    }

    .toolListItems {
        padding: 0 20px;
    }

    .toolListItem {
        padding: 12px 16px;
        margin-bottom: 8px;
        border-radius: 6px;
        border: 1px solid #f0f0f0;
        cursor: pointer;
        background-color: #fff;
        transition: all 0.2s;

        &:hover {
            border-color: #d9d9d9;
            background-color: #fafafa;
        }

        &.selected {
            background-color: #e6f7ff;
            border-color: #1890ff;
        }

        .toolName {
            font-size: 14px;
            font-weight: 500;
            color: #262626;
            margin-bottom: 4px;
        }

        .toolDescription {
            font-size: 12px;
            color: #8c8c8c;
            line-height: 1.4;
        }
    }

    .toolListEmpty {
        padding: 40px 20px;
        text-align: center;
        color: #8c8c8c;
    }

    .configForm {
        padding: 20px;
    }

    .testContent {
        padding: 20px;
    }

    .testToolInfo {
        margin-bottom: 16px;
    }

    .testParamsForm {
        margin-bottom: 20px;
    }

    .testButtonContainer {
        margin-bottom: 20px;
    }

    .testResultContainer {
        .resultHeader {
            display: flex;
            align-items: center;
            margin: 20px 0px !important;
        }

        .resultContent {
            background-color: #fafafa;
            border: 1px solid #d9d9d9;
            border-radius: 6px;
            padding: 16px;

            pre {
                margin: 0;
                white-space: pre-wrap;
                font-size: 12px;
                line-height: 1.4;
            }
        }
    }

    .testEmptyState {
        text-align: center;
        color: #8c8c8c;
        padding: 40px 0;
    }
}